<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module douban</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>douban</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:d%3A%5Cpython%5Cdouban.py">d:\python\douban.py</a></font></td></tr></table>
    <p><tt>#&nbsp;-*-&nbsp;codeing&nbsp;=&nbsp;utf-8&nbsp;-*-<br>
#&nbsp;@Time&nbsp;:&nbsp;2021/1/1&nbsp;16:45<br>
#&nbsp;File&nbsp;:&nbsp;jiqiren.py</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="requests.html">requests</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-spider_comment"><strong>spider_comment</strong></a>(start=0)</dt><dd><tt>爬取某页影评<br>
:param&nbsp;start:&nbsp;起始位置，相当于分页参数<br>
:return:</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>data</strong> = {'name': '13570716079', 'password': 'lan7712213', 'remember': 'true'}<br>
<strong>headers</strong> = {'Referer': 'https://accounts.douban.com/passport/login_popup?login_source=anony', 'User-Agent': 'Mozilla/5.0'}<br>
<strong>login_url</strong> = 'https://accounts.douban.com/j/mobile/login/basic'<br>
<strong>r</strong> = &lt;Response [200]&gt;<br>
<strong>s</strong> = &lt;requests.sessions.Session object&gt;</td></tr></table>
</body></html>